<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML>
<html>
  <head>
  
    <title>${title}</title>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<jsp:include page="../../jsp/common/include.jsp"></jsp:include>
	<script type="text/javascript">
		$(document).ready(function(){
			$('.carousel').carousel();
		});
	
	</script>
  </head>
  <body>
  
  <div class="bs-example">
  
      <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
        <ol class="carousel-indicators">
          <li data-target="#carousel-example-generic" data-slide-to="0" class=""></li>
          <li data-target="#carousel-example-generic" data-slide-to="1" class="active"></li>
          <li data-target="#carousel-example-generic" data-slide-to="2" class=""></li>
        </ol>
        <div class="carousel-inner">
          <div class="item">
            <img data-src="text:First slide" alt="First slide" src="<%=basePath%>resource/img/window-curtains/1.jpg"/>
          </div>
          <div class="item active">
            <img data-src="text:Second slide" alt="Second slide" src="<%=basePath%>resource/img/window-curtains/2.jpg"/>
          </div>
          <div class="item">
            <img data-src="text:Third slide" alt="Third slide" src="<%=basePath%>resource/img/window-curtains/3.jpg"/>
          </div>
        </div>
        <a class="left carousel-control" href="#carousel-example-generic" data-slide="prev">
          <span class="glyphicon glyphicon-chevron-left"></span>
        </a>
        <a class="right carousel-control" href="#carousel-example-generic" data-slide="next">
          <span class="glyphicon glyphicon-chevron-right"></span>
        </a>
      </div>
    </div>
    
    
    
    
    <h3><a href="<%=basePath%>pageList.do?username=liangjilong">
    	进去自定义分页
    </a></h3>
     <h3><a href="<%=basePath%>userList1.do">
    	没有的分页
    </a></h3>
    <br>
     <h3><a href="<%=basePath%>login.jsp">
    	登录
    </a></h3>
  </body>
</html>
